package com.yh.bean;

public class Message {
	
	private int mess_id;		//通知主键
	private int mess_userid;	//用户Id
	private String mess_headline;//通知标题
	private String mess_time;	//通知时间	
	private String mess_content;//通知内容
	private int mess_dept;		//部门
	
	private String user_name;	//用户姓名	
	
	public Message(){}
	
	public Message(int mess_id, int mess_userid, String mess_headline,
			String mess_time, String mess_content,int mess_dept,String user_name) {
		super();
		this.mess_id = mess_id;
		this.mess_userid = mess_userid;
		this.mess_headline = mess_headline;
		this.mess_time = mess_time;
		this.mess_content = mess_content;
		this.mess_dept=mess_dept;
		this.user_name=user_name;
	}

	public int getMess_id() {
		return mess_id;
	}

	public void setMess_id(int mess_id) {
		this.mess_id = mess_id;
	}

	public int getMess_userid() {
		return mess_userid;
	}

	public void setMess_userid(int mess_userid) {
		this.mess_userid = mess_userid;
	}

	public String getMess_headline() {
		return mess_headline;
	}

	public void setMess_headline(String mess_headline) {
		this.mess_headline = mess_headline;
	}

	public String getMess_time() {
		return mess_time;
	}

	public void setMess_time(String mess_time) {
		this.mess_time = mess_time;
	}

	public String getMess_content() {
		return mess_content;
	}

	public void setMess_content(String mess_content) {
		this.mess_content = mess_content;
	}

	public int getMess_dept() {
		return mess_dept;
	}

	public void setMess_dept(int mess_dept) {
		this.mess_dept = mess_dept;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	@Override
	public String toString() {
		return "Message [mess_id=" + mess_id + ", mess_userid=" + mess_userid
				+ ", mess_headline=" + mess_headline + ", mess_time="
				+ mess_time + ", mess_content=" + mess_content + ", mess_dept="
				+ mess_dept + ", user_name=" + user_name + "]";
	}

	
	
}
